echo "context of mail" |mail -s "subject of mail" xxxx@gmail.com 

cat "file.txt" |mail -s "subject" xxxx@gmail.com
